package calendar.messages;

import edu.gmu.messages.EndPoint;
import edu.gmu.middleware.Message;
import edu.gmu.streams.BlockInputStream;
import edu.gmu.streams.BlockOutputStream;
import java.io.IOException;

/* this class represents a calendar event */
public class EndPointResponse implements Message
{ 
  public EndPoint endPoint;

  public EndPointResponse()
  {
    this.endPoint = null;
  }

  public void marshal(BlockOutputStream stream) throws IOException
  {
    this.endPoint.marshal(stream);
  }

  public void unmarshal(BlockInputStream stream) throws IOException
  {
    this.endPoint.unmarshal(stream);
  }
}
